package com.kuwou.workobject.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.kuwou.workobject.pojo.entity.Music;
import com.kuwou.workobject.pojo.entity.RankList;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

@Mapper
public interface MusicMapper extends BaseMapper<Music> {

    //清空表
    @Select("truncate table kuwou.music_items")
    void truncateTable();
}
